package com.neuedu.weishi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;
/**
* Author lu
* Date  2025-08-26 09:11:00
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Alias("videoCategory")
@TableName(value = "video_category")
public class VideoCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    *主键自增长
    */
    @TableField(value = "video_category_id")
    @TableId(type = IdType.AUTO)
    private Integer videoCategoryId;

    /**
    * 分类名称
    */
    @TableField(value = "name")
    private String name;
    /**
    * 分类描述
    */
    @TableField(value = "desc")
    private String desc;
    /**
    * 唯一,大于等于0
    */
    @TableField(value = "index")
    private Integer index;
    /**
    * 1:使用中;9:停用
    */
    @TableField(value = "status")
    private Integer status;
    /**
    * 创建时间
    */
    @TableField(value = "created_time")
    private Date createdTime;
    /**
    * 创建管理员ID
    */
    @TableField(value = "created_admin_id")
    private Integer createdAdminId;
    /**
    * 修改时间
    */
    @TableField(value = "updated_time")
    private Date updatedTime;
    /**
    * 修改管理员ID
    */
    @TableField(value = "updated_admin_id")
    private Integer updatedAdminId;
    /**
    * 备注
    */
    @TableField(value = "remarks")
    private String remarks;
}